import React from 'react'
import { Form, Select, Button, Row, Col, Input } from "antd";
const Product = () => {
    return (
        <>
            <Row >
                <Col span={8}>
                </Col>
                <Col span={8}>
                    <Form>
                    <Form.Item name="name" label="名称">
                        <Input />
                    </Form.Item>
                        <Form.Item name="select" label="选择内容">

                            <Select onSelect={(e)=>{alert(e)}}>
                                <Select.Option value="">
                                    请选择
                                </Select.Option>
                                {
                                    '阿斯蒂拉萨酱，豆腐拉圣诞快乐房，价爱上了对方骄傲，啊收到了饭卡上的，了发士大夫'
                                    .split('，')
                                    .map((item, index) => (
                                        <Select.Option value={index} key={ index }>
                                            {item}
                                        </Select.Option>
                                    ))
                                }
                            </Select>
                        </Form.Item>
                    </Form>
                </Col>
                <Col span={8}>
                </Col>
            </Row>
        </>
    )
}

export default Product

